package ycl.important.service.login;

import ycl.important.common.models.req.base.AccountPassReq;
import ycl.important.common.models.res.login.LoginRes;
import ycl.important.common.models.req.login.RegisterReq;
import ycl.important.common.models.req.login.SmsLoginReq;

import javax.servlet.http.HttpServletRequest;

/**
 * 登录 服务类
 *
 * @author: YCL
 * @date: 2021-06-12 14:36:02
 */
public interface LoginService {

	void logout(HttpServletRequest request);

	LoginRes loginByUsernamePassword(AccountPassReq dto);

	LoginRes loginByMobilePassword(AccountPassReq dto);

	LoginRes loginBySms(SmsLoginReq dto);

	void register(RegisterReq dto);


}
